package cn.tedu.service;

import cn.tedu.bo.TestWorkerBO;
import cn.tedu.query.TestWorkerQuery;
import cn.tedu.repository.TestRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TestService {

    //TestController → TestService → TestRepo → TestRepoImpl → TestDao → TestDao.xml

    @Autowired
    private TestRepository testRepository;

    public TestWorkerBO testWoker(TestWorkerQuery testWorkerQuery) {
        return testRepository.testWoker(testWorkerQuery);
    }
}
